﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application;

public interface IDataDictionaryService

{
    /// <summary>
    /// 新增或更新一条
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task InsertOrUpdate(DataDictionaryInput input);

    /// <summary>
    /// 分页查询
    /// </summary>
    /// <param name="searchQuery"></param>
    /// <returns></returns>
    Task<LayuiPagedList<DataDictionaryOut>> GetAllByPage(DataDictionaryQuery searchQuery);
}